package cn.iocoder.yudao.module.recycl.controller.admin.order.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 回收订单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OrderPageReqVO extends PageParam {

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "用户编号", example = "27715")
    private Long userId;

    @Schema(description = "联系人姓名", example = "赵六")
    private String userName;

    @Schema(description = "联系电话")
    private String userPhone;

    @Schema(description = "详细地址")
    private String address;

    @Schema(description = "回收物品类型编号", example = "6767")
    private Long itemTypeId;

    @Schema(description = "物品描述")
    private String itemDesc;

    @Schema(description = "预约时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] appointmentTime;

    @Schema(description = "回收人员编号", example = "29518")
    private Long collectorId;

    @Schema(description = "订单状态", example = "1")
    private Integer status;

    @Schema(description = "备注信息")
    private String remarks;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}